<template>
    <view class="content">
        <view class="item" v-for="(item, index) in 2" :key="index">
            <view class="u-flex u-row-between u-col-center">
                <view class="title">伙伴计时 陪学习 数学</view>
                <view class="status">服务中</view>
            </view>
            <view class="time">2023-10-27(星期五) 19:30-20:00</view>
            <view class="item-down">
                <image src="/static/icon/icon_01.png" class="icon-01"></image>
                <view class="name">李同学</view>
                <view class="male">男</view>
                <view class="female">女</view>
                <view class="age">12岁</view>
            </view>
        </view>
        
    </view>
</template>

<script>
    export default {
        data() {
            return {
                
            };
        },
        onLoad() {
            
        },
        methods: {
            
        }
    };
</script>

<style lang="scss">
    page{
        background-color: #f5f5f5;
    }
    .content{
        padding: 20rpx;
    }
    
    .item{
        padding: 35rpx 25rpx;
        margin-bottom: 20rpx;
        background-color: #fff;
        border-radius: 15rpx;
    }
    .title{
        flex: 1;
        font-size: 34rpx;
        font-weight: bold;
        word-break: break-all;
        white-space: pre-line;
    }
    .status{
        font-size: 24rpx;
        color: #fec427;
        padding-left: 15rpx;
    }
    .time{
        font-size: 26rpx;
        color: #8e8e8e;
        padding-top: 10rpx;
    }
    .item-down{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding-top: 20rpx;
    }
    .icon-01{
        width: 37rpx;
        height: 37rpx;
        margin-right: 15rpx;
    }
    .name{
        font-size: 32rpx;
        font-weight: bold;
        padding-right: 15rpx;
    }
    .male{
        width: 34rpx;
        height: 34rpx;
        border-radius: 5rpx;
        background-color: #edf6ff;
        font-size: 26rpx;
        color: #2d96fa;
        text-align: center;
        line-height: 34rpx;
    }
    .female{
        width: 34rpx;
        height: 34rpx;
        border-radius: 5rpx;
        background-color: #ffeeed;
        font-size: 26rpx;
        color: #ff5748;
        text-align: center;
        line-height: 34rpx;
    }
    .age{
        font-size: 26rpx;
        color: #727272;
        padding-left: 15rpx;
    }

</style>
